
package org.soaism.journey.service.messages;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

import org.soaism.journey.service.entities.Car;
import org.soaism.journey.service.entities.Driver;
import org.soaism.journey.service.entities.Journey;
import org.soaism.journey.service.entities.Location;


@XmlRootElement(name = "newlogresponse")
public class NewLogResponse {
	private long idnr;
	private String creationDate;
	private Car car;
	private Location location;
	private Journey way;
	private Driver driver;

	public void setIdnr(long idnr) {
		this.idnr = idnr;
	}
	
	@XmlElement
	public long getIdnr() {
		return idnr;
	}

	@XmlElement
	public String getCreationDate() {
		return this.creationDate;
	}
	
	public void setCreationDate(String creationDate) {
		this.creationDate = creationDate;
	}
	
	@XmlElement
	public Car getCar() {
		return this.car;
	}
	
	public void setCar(Car car) {
		this.car = car;
	}
	
	@XmlElement
	public Location getLocation() {
		return this.location;
	}
	
	public void setLocation(Location location) {
		this.location = location;
	}
	
	@XmlElement
	public Journey getJourney() {
		return this.way;
	}
	
	public void setJourney(Journey journey) {
		this.way = journey;
	}
	
	@XmlElement
	public Driver getDriver() {
		return this.driver;
	}
	
	public void setDriver(Driver driver) {
		this.driver = driver;
	}
	
}
